// Fill out your copyright notice in the Description page of Project Settings.


#include "BoomPlayerState.h"

#include "Boom/Character/Abilities/BoomAbilitySystemComponent.h"

ABoomPlayerState::ABoomPlayerState()
{
	AbilitySystemComponent = CreateDefaultSubobject<UBoomAbilitySystemComponent>(TEXT("AbilitySystemComponent"));
	AbilitySystemComponent->SetIsReplicated(true);

	AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Mixed);

	//	TODO: Add AttributeSet Here

	NetUpdateFrequency = 100.0f;
}

UAbilitySystemComponent* ABoomPlayerState::GetAbilitySystemComponent() const
{
	return AbilitySystemComponent;
}
